public class Person
{
    public string Name { get; set; }
    public int Age { get; set; }

    // 构造方法
    public Person(string name, int age)
    {
        Name = name;
        Age = age;
    }
}

class Program63
{
    static void Main()
    {
        Type personType = typeof(Person);
        object[] constructorParams = { "John", 30 };
        object personInstance = Activator.CreateInstance(personType, constructorParams);
        if (personInstance != null)
        {
            Person person = (Person)personInstance;
            Console.WriteLine($"Name: {person.Name}, Age: {person.Age}");
        }
    }
}